gdk/wayland: Use last implicit grab serial for DnD start requests
authorCarlos Garnacho <carlosg@gnome.org>
Mon, 18 Jul 2022 10:37:29 +0000 (12:37 +0200)
committerCarlos Garnacho <carlosg@gnome.org>
Mon, 18 Jul 2022 11:00:32 +0000 (13:00 +0200)
commiteb0b98d5f2ac551c847981e893b7f2f0ac8cf612
tree110e0cc3be1d0b62a537be52b676c46097a2c562
parent188cb49b44bc7426290fc8c0c8fd68de37b7423b
gdk/wayland: Use last implicit grab serial for DnD start requests

This serial should be that from a button press/touch down/etc, use
the last implicit grab here, which will presumably be from the same
device that triggered the event.

Closes: https://gitlab.gnome.org/GNOME/gtk/-/issues/5048
gdk/wayland/gdkdrag-wayland.c